﻿using System;
using System.Linq;
using System.Text;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("scada_torquerecord")]
    public partial class scada_torquerecord
    {
           public scada_torquerecord(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string id {get;set;}

           /// <summary>
           /// Desc:工具id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string toolid {get;set;}

           /// <summary>
           /// Desc:产品编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string vinnum {get;set;}

           /// <summary>
           /// Desc:工步
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string step {get;set;}

           /// <summary>
           /// Desc:扭矩
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? torque {get;set;}

           /// <summary>
           /// Desc:扭矩状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string torquestatus {get;set;}

           /// <summary>
           /// Desc:角度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? angle {get;set;}

           /// <summary>
           /// Desc:角度状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string anglestatus {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string status {get;set;}

        public string batchcounter { get; set; }

        public string batchsize { get; set; }

        public string torquefinaltarget { get; set; }

        public string tighteningid { get; set; }

        /// <summary>
        /// Desc:时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? time {get;set;}


        public DateTime receivetime { get; set; }

        public string jobid { get; set; }

        /// <summary>
        /// KJF 20210406 新增
        /// 设备编码
        /// </summary>
        public string equipmentcode { get; set; }

        /// <summary>
        /// KJF 20210409 新增
        /// 用户ID
        /// </summary>
        public string userid { get; set; }


        /// <summary>
        /// KJF 20210409 新增
        /// 条码
        /// </summary>
        public string barcode { get; set; }

        /// <summary>
        /// KJF 20210409 新增
        /// 序列号
        /// </summary>
        public string sn { get; set; }

        /// <summary>
        /// KJF 20210409 新增
        /// 物料号
        /// </summary>
        public string matid { get; set; }

        /// <summary>
        /// KJF 20210409 新增
        /// 工单号
        /// </summary>
        public string woid { get; set; }

        /// <summary>
        /// KJF 20210409 新增
        /// 
        /// </summary>
        public string batchstatus { get; set; }


        

        /// <summary>
        /// KJF 2021-11-05 新增
        /// 
        /// </summary>
        public string equipmentname { get; set; }


















    }
}
